<template>
    <fieldset>
        <legend>Child2组件</legend>
        <h1>Child2组件</h1>
        <button @click="send2">点击传递给Child</button>
    </fieldset>
</template>
<script>
    export default {
        data(){
            return {
                j:'果宝特攻'
            }
        },
        methods:{
            send2(){
                this.$bus.$emit('get',this.j)
            }
        }
    }
</script>
 <style scoped> 
    h1{
        color: hotpink;
    }
</style>